<template>
  <div>
    <h1>This is a test page</h1>
    <a-button @click="test">测试请求</a-button>
    <p v-role="['admin','user']">权限可见标签</p>
  </div>
</template>

<script setup>

const test = () => {
  console.log("test");
  // axios.get("/api/test").then((res) => {
  //   console.log(res);
  // });
};
</script>
